﻿using System;
using System.ComponentModel;

namespace Unis.Framework.ORM.BaseDefiniens.Enums
{
    [Flags]
    public enum ModelConfigOptions
    {
        [Description("根据列的映射自动创建处理的SQL 语句。")]
        AutoCreateSql = 4,
        [Description("通过Attribut配置对象的列映射。")]
        ColumnCfgByAttribute = 1,
        [Description("通过Xml配置对象的列映射。")]
        ColumnCfgByXml = 2,
        [Description("通过XML 文件的配置得到SQL 语句。")]
        CreateSqlByXmlCfg = 8,
        [Description("对象类的永久性处理通过业务类来进行操作。")]
        ExecuteByRule = 0x16,
        [Description("None")]
        None = 0
    }
}
